import java.util.ArrayList;


public class Utilisateur {
	private String id;
	private String nom;
	private boolean isAdmin;
	private String motDePasse;
	private String email;
	private ArrayList<Arret> favoris;
	
	public Utilisateur(String id, String nom, String motDePasse, String email) {
		this.id = id;
		this.nom = nom;
		this.isAdmin = false;
		this.motDePasse = motDePasse;
		this.email = email;
		favoris = new ArrayList<Arret>();
	}

	public ArrayList<Arret> getFavoris() {
		return favoris;
	}

	public void setFavoris(ArrayList<Arret> favoris) {
		this.favoris = favoris;
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getNom() {
		return nom;
	}

	public void setNom(String nom) {
		this.nom = nom;
	}

	public boolean isAdmin() {
		return isAdmin;
	}

	public void setAdmin(boolean isAdmin) {
		this.isAdmin = isAdmin;
	}

	public String getMotDePasse() {
		return motDePasse;
	}

	public void setMotDePasse(String motDePasse) {
		this.motDePasse = motDePasse;
	}

	public String getEmail() {
		return email;
	}

	public void setEmail(String email) {
		this.email = email;
	}
	
	
	
	
}
